package com.cn.jinl.api;

import com.alibaba.fastjson.JSONObject;
import com.cn.jinl.domain.MeterPower;
import com.cn.jinl.utils.QueryForm;

import javax.management.Query;
import java.util.List;
import java.util.Map;

public interface IMeterPowerService {

    Map<String,List<JSONObject>> getMeterPowerList(QueryForm queryForm)throws Exception;

    String addMeterPower(JSONObject jsonObject)throws Exception;

    Map<String,List<MeterPower>> getYearMeterPowers(String year)throws Exception;

    Map<String, Object[]> getFirstPageYearMeterPowers()throws Exception;

    String updateMeterTestPower()throws Exception;
}
